public abstract class Dog extends Animal{
    public Dog(int age, String name) {
        super(age, name);
    }

/*    @Override
    public void eat() {
        System.out.println(this.name+"吃狗粮");
    }*/
    public abstract void bark();
}

class Labrador extends Dog{

    public Labrador(int age, String name) {
        super(age, name);
    }

    @Override
    public void eat() {

    }

    @Override
    public void bark() {

    }
}